//
//  ViewController.swift
//  剂查查
//
//  Created by shoubin tao on 2024/11/30.
//  Copyright © 2024 shipin. All rights reserved.
//

import UIKit


class JCCPersonMessageViewController:UIViewController {
    @IBOutlet weak var view1: UIView!
    
    @IBOutlet weak var view2: UIView!
    
    @IBOutlet weak var view3: UIView!
    
    @IBOutlet weak var view4: UIView!
    
    @IBOutlet weak var view5: UIView!
    override func viewWillAppear(_ animated: Bool) {
        
        self.navigationController?.navigationBar.isHidden = true
    }
    
    override func viewWillDisappear(_ animated: Bool) {
        self.navigationController?.navigationBar.isHidden = false
    }
    
    override func viewDidLoad() {
        
        setRadius(targetView: self.view1)
        setRadius(targetView: self.view2)
        setRadius(targetView: self.view3)
        setRadius(targetView: self.view4)
        setRadius(targetView: self.view5)
    }
    
    @IBAction func goBack(_ sender: Any) {
        self.navigationController?.popViewController(animated: true)
    }
    
    func setRadius(targetView:UIView){
        targetView.layer.cornerRadius = 11
        targetView.clipsToBounds = true
    }
}
